class SnippetHighlighter
  @queue = :snippets_queue
  def self.perform(id)
  	puts "id:",id
    # snippet = Snippet.find(snippet_id)
    # uri = URI.parse('http://pygments.appspot.com/')
    # request = Net::HTTP.post_form(uri, {'lang' => snippet.language, 'code' => snippet.plain_code})
    # snippet.update_attribute(:highlighted_code, request.body)
  end
end